<div class="found">Found <%= results.length%> records.</div>
<% _.each(results, function(result){ %>
	<div class="historyresultcontainer">
			<div>
				<label >On <strong><%= new Date(result.get("dateOfAppointment")).format("dd mmm yyyy")%></strong> 
						with <strong>Dr. <%= result.get("doctor").name%></strong>
						.Please click <span class="historyprint"   id="<%= result.get("id") %>" >here</span> to view.</label>
			</div>
			
	</div>
<% }); %>